import request from '@/utils/request'

// 获取验证码
export function authCode () {
  return request({
    url: 'auth/code',
    method: 'GET'
  })
}
// 登录
export function authLogin (data) {
  return request({
    url: 'auth/login',
    method: 'POST',
    data
  })
}
